package com.wyc.serviceMap.service.impl;

import com.wyc.internalCommon.result.ApiResult;
import com.wyc.serviceMap.remote.TrackClient;
import com.wyc.serviceMap.service.TrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TrackServiceImpl implements TrackService {

    @Autowired
    private TrackClient trackClient;

    /**
     * 添加轨迹
     * @return
     */
    @Override
    public ApiResult add(String tid) {
        return trackClient.add(tid);
    }
}
